.alert {
  padding: 15px;
  overflow: hidden;
  opacity: 0;

  button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
  }

  .close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
  }

  &-fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    @include translate(0, -100%);
    @include transition(all 400ms ease);

    &.active {
      @include translate(0, 0);
      opacity: 1;
    }
  }

  &-dismissible {
    padding-right: 35px;
    .close {
      position: relative;
      top: 0;
      right: -21px;
      color: inherit;
    }
    .right-button {
      float: right;
      top: 0;
      right: -15px;
      background-color: #5E9CE5;
      border: none;
      min-height: 28px;
      line-height: 24px;
    }
  }

  &-warning {
    background-color: #FFF4CF;
    border-bottom: 2px solid #F6AF12;
    color: #F6AF12;

    a {
      color: $positive;
    }
  }
  &-default {
    background-color: rgba(0, 0, 0, .9);
    color: #fff;
    line-height: 24px;
  }
}
